import { OccType } from "core/typeDefine/typeDefine";

export default {
    redHeroList: [320103, 320104, 320203, 320204, 320205, 320302, 320303, 320304, 320402,
        320403, 320405, 320502, 320503, 320504, 320603, 320604, 320605],//红色英雄
    occTypeList: [OccType.Warrior, OccType.MainTank, OccType.Wizard, OccType.Archer, OccType.Assassin, OccType.Assistant],
    maxLvl: 3500, //最大等级  2000=>3000=>3500
    starMaxLvl: 50, //星级上限 25=>30=>45=>50
    equipmentStrMaxLvl: 200, //装备强化上限
    partnerStarlvls: [50, 100, 200, 400, 600, 800, 1000, 1000, 1200, 1400, 1600, 1800, 2000, 2500, 3000, 3500, 4000],
    skillUnLockStarLvl: [0, 5, 10, 20, 30], //技能解锁星级
    starSkillUnlockStarLvl: [30, 35, 40, 45],//进阶技能解锁星级
    initAttris: {
        maxHp: 100,
        attack: 25,
        speed: 10,
        def: 10,
        maxMp: 50,
        attackSpeed: 100,
        attackMp: 10,
        doubleAttack: 0,
        critRate: 5,
        scritRate: 3,
    },
    starLvlupAttriPer: 6, //每升一级提升的基础属性百分比
    lvlUpAttris: ["attack", "maxHp", "def", "speed"],
    lvlUpGetBaseAttriPoint: 1, //每升级1级随机获1点属性点
    lvlUpGetBaseAttriFreePoint: 1, //每1级获得1点自由属性点
    fragmentComposeCost: 2, //合成消耗
    fragmentExchangeCost: 2, //兑换消耗
    baseAttri: { //基础属性
        con: [{ name: "recoverHp", incValues: [0, 1] }, { name: "maxHpPer", incValues: [0, 0.5, 0, 0, 1] }],
        str: [{ name: "attack", incValues: [0, 2] }, { name: "doubleAttack", incValues: [0, 0.5, 0, 0, 1] }],
        agile: [{ name: "def", incValues: [0, 2] }, { name: "attackSpeed", incValues: [0, 1] }],
        will: [{ name: "critHurtPer", incValues: [0, 0.15, 0, 0, 1] }, { name: "scritHurtPer", incValues: [0, 0.1, 0, 0, 1] }],
        spirit: [{ name: "maxMp", incValues: [0, 1] }, { name: "recoverMp", incValues: [0, 0.1, 0, 0, 1] }],
    },
    partnerPower: {  //战力计算
        maxHp: 1,
        attack: 10,
        def: 10,
        speed: 10,

        // maxMp: 2,
        // recoverHp: 5,
        // attackSpeed: 8,
        // attackMp: 10,
        // recoverMp: 15,

        "critRate": 10,
        "antiCritRate": 10,
        "blockRate": 10,
        "antiBlockRate": 10,
        "breakDefRate": 10,
        "antiBreakDefRate": 10,
        "critHurtPer": 10,
        "antiCritHurtPer": 10,
        "skillHurtPer": 10,
        "antiSkillHurtPer": 10,
        "controlRate": 10,
        "antiControlRate": 10,
        "hurtPer": 10,
        "antiHurtPer": 10,
        "recoverPer": 10,

    },
    partnerPowerPer: {
        "critRate": 0.1,
        "antiCritRate": 0.1,
        "blockRate": 0.1,
        "antiBlockRate": 0.1,
        "breakDefRate": 0.1,
        "antiBreakDefRate": 0.1,
        "critHurtPer": 0.1,
        "antiCritHurtPer": 0.1,
        "skillHurtPer": 0.1,
        "antiSkillHurtPer": 0.1,
        "controlRate": 0.1,
        "antiControlRate": 0.1,
        "hurtPer": 0.1,
        "antiHurtPer": 0.1,
        "recoverPer": 0.1,
    }
}